package com.cn.serverline.lineicp.produce.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 向下工位流转
 *
 * @Author 王烁烁
 * @Date 2024/8/19
 */
@Data
public class DeskCirculationDto {
    @ApiModelProperty(value = "工步id")
    @TableField("PROCESS_STEPS_ID")
    @NotNull(message = "工步id不能为空")
    private Long processStepsId;

    @ApiModelProperty(value = "总装、部装下发id")
    @TableField("AUTOMATIC_SCHEDULE_ID")
    @NotNull(message = "总装、部装下发id不能为空")
    private Long automaticScheduleId;

    @ApiModelProperty(value = "件号")
    @TableField("PART_NUMBER")
    @NotBlank(message = "件号不能为空")
    private String partNumber;

    @ApiModelProperty(value = "状态 1已完成  报工 2.未完成 取消报工")
    @NotNull(message = "状态 1已完成  报工 2.未完成 取消报工不能为空")
    private  Long state;
}
